<block name="header">
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width,height=device-height,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>超老师后台</title>
        <load href='/Public/admin/css/bootstrap.min.css'/>
        <load href='/Public/admin/css/sb-admin.css'/>
        <load href='/Public/admin/css/plugins/morris.css'/>
        <load href='/Public/admin/font-awesome/css/font-awesome.min.css'/>
        <load href='/Public/admin/js/jquery.js'/>
        <load href='/Public/admin/js/bootstrap.min.js'/>
        <style>
            .side-nav li.active {background-color: black;}
            .side-nav li.active a{color: white;}
        </style>
    </head>
    <body>
    <div id="wrapper">
        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="/Admin/Index/index">超老师后台</a>
            </div>
            <div class="navbar-header" style="float:right;">
                <a class="navbar-brand" href=""><?php echo session('admin') ?></a>
                <a class="navbar-brand" href="/Admin/Index/logout">退出</a>
            </div>
            <div class="collapse navbar-collapse navbar-ex1-collapse">
                <ul class="nav navbar-nav side-nav">
                    <li <if condition="$nav == home">class="active"</if>>
                        <a href="/Admin/Index/index"><i class="fa fa-fw fa-dashboard"></i>网站综述</a>
                    </li>
                    <li <if condition="$nav == teacher">class="active"</if>>
                        <a href="/Admin/Teacher/teacherlist"><i class="fa fa-fw fa-bar-chart-o"></i>老师管理
                        <span style="color: red;"><?php if(isset($tipnum['2'])){echo "[".$tipnum['2']."]";};?></span>
                        </a>
                    </li>
                    <li <if condition="$nav == parent">class="active"</if>>
                        <a href="/Admin/Parent/parentlist"><i class="fa fa-fw fa-bar-chart-o"></i>家长管理
                        <span style="color: red;"><?php if(isset($tipnum['3'])){echo "[".$tipnum['3']."]";};?></span>
                        </a>
                    </li>
                    <li <if condition="$nav == requirement">class="active"</if>>
                        <a href="/Admin/Requirement/index"><i class="fa fa-fw fa-bar-chart-o"></i>需求管理
                        <span style="color: red;"><?php if(isset($tipnum['4'])){echo "[".$tipnum['4']."]";};?></span>
                        </a>
                    </li>
                    <li <if condition="$nav == order">class="active"</if>>
                        <a href="/Admin/Order/index/tab/1"><i class="fa fa-fw fa-bar-chart-o"></i>订单管理
                        <span style="color: red;"><?php if(isset($tipnum['5'])){echo "[待".$tipnum['5']."]";};?><?php if(isset($tipnum['6'])){echo "[后".$tipnum['6']."]";};?></span>
                        </a>
                    </li>
                    <li <if condition="$nav == account">class="active"</if>>
                        <a href="/Admin/Account/index"><i class="glyphicon glyphicon-usd"></i>账单管理</a>
                    </li>
                    <li <if condition="$nav == comment">class="active"</if>>
                        <a href="/Admin/Comment/index"><i class="glyphicon glyphicon-usd"></i>评论管理</a>
                    </li>

                    <li <if condition="$nav == rcmd">class="active"</if>>
                        <a href="/Admin/Teacher/introduction"><i class="fa fa-fw fa-bar-chart-o"></i>推荐列表</a>
                    </li>
                    <li <if condition="$nav == passwd">class="active"</if>>
                        <a href="/Admin/index/edit"><i class="fa fa-fw fa-bar-chart-o"></i>修改密码</a>
                    </li>
<!--                    <li>
                        <a href="forms.html"><i class="fa fa-fw fa-edit"></i>机构管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/User/adminlist"><i class="fa fa-fw fa-table"></i>管理员管理</a>
                    </li>
                    <li>
                        <a><i class="fa fa-fw fa-table"></i>属性管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/typelist">——题目特性管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/classifylist">——题目分类管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/gradelist">——年级管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/subjectlist">——学科管理</a>
                    </li>
                    <li>
                        <a><i class="fa fa-fw fa-table"></i>题目管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/questionadd">——增加题目</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Question/questionlist">——题目列表</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Banner/bannerlist"><i
                                class="fa fa-fw fa-table"></i>Banner管理</a>
                    </li>
                    <li>
                        <a><i class="fa fa-fw fa-table"></i>课程管理</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Course/list">--课程列表</a>
                    </li>
                    <li>
                        <a href="/Bailey/Admin/Course/add">--添加课程</a>
                    </li>-->
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </nav>
</block>
<block name="footer">
    <div id="page-wrapper">
        <block name="body">
            <div class="">
                <h1>超老师后台欢迎你</h1>
            </div>
        </block>
    </div>
    </div>
     <!--Morris Charts JavaScript -->
    <!-- <load href='/Public/admin/js/plugins/morris/raphael.min.js'/> -->
    <!-- <load href='/Public/admin/js/plugins/morris/morris.min.js'/> -->
    <!-- <load href='/Public/admin/js/plugins/morris/morris-data.js'/> -->
    </body>
    </html>
</block>
